| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

ConstantBuffer.h
1 // ConstantBuffer.h
3 //
5
6 namespace nkGraphics
7 {
11 class ConstantBuffer : public nkExport::Exportable
12 {
13 public :
14
15 // Getters
20 ShaderPassMemorySlot* getPassMemorySlot (unsigned int index) ;
27 ShaderPassMemorySlot* getPassMemorySlotReadOnly (unsigned int index) const ;
28
35 ShaderPassMemorySlot* addPassMemorySlot () ;
42 void changePassMemorySlotOrder (unsigned int fromIndex, unsigned int toIndex) ;
48 void deletePassMemorySlot (unsigned int index) ;
49
55 virtual void exportClassToTree (nkExport::Node* rootNode) override ;
61 virtual void importClassFromTree (nkExport::Node* rootNode) override ;
62
63 // Operators
67 ConstantBuffer& operator= (const ConstantBuffer&) = delete ;
68 } ;
69 }
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkGraphics::ConstantBuffer::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::ConstantBuffer::getPassMemorySlotReadOnly
ShaderPassMemorySlot * getPassMemorySlotReadOnly(unsigned int index) const
nkGraphics::ShaderPassMemorySlot
A memory slot that fits into a ConstantBuffer. The slot fills entries within the buffer.
Definition: ShaderPassMemorySlot.h:15
nkGraphics::ConstantBuffer::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::ConstantBuffer::getPassMemorySlot
ShaderPassMemorySlot * getPassMemorySlot(unsigned int index)
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::ConstantBuffer::changePassMemorySlotOrder
void changePassMemorySlotOrder(unsigned int fromIndex, unsigned int toIndex)
nkGraphics::ConstantBuffer::addPassMemorySlot
ShaderPassMemorySlot * addPassMemorySlot()
nkGraphics::ConstantBuffer::operator=
ConstantBuffer & operator=(const ConstantBuffer &)=delete
nkGraphics::ConstantBuffer::deletePassMemorySlot
void deletePassMemorySlot(unsigned int index)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::ConstantBuffer
Describes a constant buffer.
Definition: ConstantBuffer.h:12